package com.lhh.springcommon.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * 阿里云短信服务配置
 * @author 李厚航
 */
@Configuration
@ConfigurationProperties(prefix = "aliyun.sms")
@Data
public class AliyunSmsProperties {

    private String accessKey;
    private String secretKey;
    private String signName;
    private String templateCode;
    private int maxNumber;
    private int expireTime;
}
